package com.wzx.selfuse.mapper;

import com.wzx.selfuse.entity.PlanCust;
import com.wzx.selfuse.entity.PlanPro;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface Plan_ICustMapper {
    //查询客户列表
    List<PlanCust> getCustList();

    //添加客户
    int addCust(PlanCust planCust);

    //通过custNumber查询客户
    PlanCust getCustByCustNumber(@Param("custNumber") String custNumber);

    //通过custName查询客户
    List<PlanCust> getCustByCustName(@Param("custName") String custName);

    //通过custNumber删除客户
    int deleteCust(@Param("custNumber") String custNumber);

    //通过custNumber编辑产品
    int editCust(PlanCust planCust);
}
